CREATE TABLE [dbo].[DnnProduct_TabModuleSettings]
(
[TabModuleID] [int] NOT NULL,
[SettingName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SettingValue] [nvarchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CreatedByUserID] [int] NULL,
[CreatedOnDate] [datetime] NULL,
[LastModifiedByUserID] [int] NULL,
[LastModifiedOnDate] [datetime] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[DnnProduct_TabModuleSettings] ADD CONSTRAINT [PK_DnnProduct_TabModuleSettings] PRIMARY KEY CLUSTERED  ([TabModuleID], [SettingName]) WITH (FILLFACTOR=85) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DnnProduct_TabModuleSettings] WITH NOCHECK ADD CONSTRAINT [FK_DnnProduct_TabModuleSettings_DnnProduct_TabModules] FOREIGN KEY ([TabModuleID]) REFERENCES [dbo].[DnnProduct_TabModules] ([TabModuleID]) ON DELETE CASCADE NOT FOR REPLICATION
GO
